package com.ojoin.trade.t0loan_core.web.service;

import java.util.List;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.t0loan_core.web.domain.TbT0RefundTask;
import com.ojoin.trade.t0loan_core.web.domain.TbT0RefundTaskVO;


public interface TbT0RefundTaskService extends
		BaseService<TbT0RefundTask> {

	public int insertT0RefundTask(TbT0RefundTask vo) throws BusinessException;
	
	public List<TbT0RefundTaskVO> queryAllUserUnsuccessRefundTask() throws BusinessException;
	
	public TbT0RefundTaskVO queryUserLastRefundTaskById(int joinuserid) throws BusinessException;

	public int updateRefundTaskStatusAndMemoById(int id, int status, String memo, String orderid) throws BusinessException;
		
}